package ua.vn.ticket_scanner.network.task.socket.data;

/**
 * Created by Ivan on 17.06.13.
 */
public class SocketInfo {

    public static final String DEFAULT_IP = "77.121.97.167";
    public static final int DEFAULT_PORT = 8889;

    private final String serverIp;
    private final int serverPort;

    public SocketInfo() {
        this(DEFAULT_IP, DEFAULT_PORT);
    }

    public SocketInfo(String serverIp, int serverPort) {
        this.serverIp = serverIp;
        this.serverPort = serverPort;
    }

    public String getIp() {
        return serverIp;
    }

    public int getPort() {
        return serverPort;
    }
}
